#include <string.h>
#include "Task.h"

Task::Task() {
	this->id = NULL;

	// set default values
	this->threads = 1;
	this->isCheckout = false;
	this->isBusy = false;
	this->isShutdown = false;
}

// Deconstructor
Task::~Task() {
	if(this->id) {
		free(this->id);
	}
}